package com.suxin.module.bean;

/**
 * @Classname Api
 * @Description [ api地址 ]
 * @Author Tang
 * @Date 2020/10/16 14:23
 * @Created by ASUS
 */
public enum MyApi {

    /**
     * path 对应的 api路径
     */
    PUT("/api/put"),
    PUT_DETAIL("/api/put?detail=true"),
    QUERY("/api/query"),
    LAST("/api/query/last"),
    SUGGEST("/api/suggest");

    private String path;

    MyApi(String path) {
        this.path = path;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
